package test.edu;

import annontain.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@RequestMapping("/first")
public class DHandler {
    public void handle(HttpServletRequest request, HttpServletResponse response) {
        System.out.println("DHandler handle");
    }
   //:first/myxx
    @RequestMapping("/myxx")
    public void xx(HttpServletRequest request, HttpServletResponse response){
        System.out.println("DHandler xx");
    }

    @RequestMapping("/yy")
    public void yy(HttpServletRequest request, HttpServletResponse response){
        System.out.println("DHandler yy");
    }
}
